package sh.wnxy.wn38.mapper;

import org.apache.ibatis.annotations.Select;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import sh.wnxy.wn38.entity.Orderitem;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wn38
 * @since 2021-07-15
 */
public interface OrderitemMapper extends BaseMapper<Orderitem> {
    @Select("select * from orderitem where oi_orderid=#{orderid}")
    List<Orderitem> selectByOrderId(String orderid);
}
